package org.jeecg.modules.equipment.watermeter.service.impl;

import org.jeecg.modules.equipment.gasmeter.mapper.DmGasmeterMapper;
import org.jeecg.modules.equipment.watermeter.entity.DmWatermeter;
import org.jeecg.modules.equipment.watermeter.mapper.DmWatermeterMapper;
import org.jeecg.modules.equipment.watermeter.service.IDmWatermeterService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 水表管理
 * @Author: jeecg-boot
 * @Date:   2021-11-24
 * @Version: V1.0
 */
@Service
public class DmWatermeterServiceImpl extends ServiceImpl<DmWatermeterMapper, DmWatermeter> implements IDmWatermeterService {
    @Resource
    private DmWatermeterMapper dmWatermeterMapper;


    @Override
    public String queryDmWatermeterMaxCode(String tenantId) {
        return  dmWatermeterMapper.queryMaxCode(tenantId);
    }
}
